﻿using System;
using System.Collections.Generic;
using System.Text;

namespace NP.BPMReportPlatform.RecurringJobs.Dto
{
    /// <summary>
    /// 用户组织岗位Dto
    /// </summary>
    public class UserOrganizationPostionDto
    {
        public UserOrganizationPostionDto()
        {
            PositionId = Guid.NewGuid();
            IsActive = 1;
        }

        /// <summary>
        /// 岗位ID
        /// </summary>
        public Guid PositionId { get; set; }

        /// <summary>
        /// 用户唯一ID
        /// </summary>
        public Guid UserId { get; set; }

        /// <summary>
        /// 组织ID
        /// </summary>
        public int OrganizationId { get; set; }

        /// <summary>
        /// 用户工号
        /// </summary>
        public string PositionCode { get; set; }

        /// <summary>
        /// 是否可用
        /// </summary>
        public int IsActive { get; set; }

        /// <summary>
        /// 用户岗位关系表ID
        /// </summary>
        public Guid UserPositionRelationId { get; set; }
    }
}
